package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.CustFeedback;
import com.danskin.wechat.entity.example.CustFeedbackExample;
import com.danskin.wechat.util.Page;

public interface CustFeedbackDao {
    int countByExample(CustFeedbackExample example);

    int deleteByExample(CustFeedbackExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CustFeedback record);

    int insertSelective(CustFeedback record);

    List<CustFeedback> selectByExample(CustFeedbackExample example);

    CustFeedback selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CustFeedback record, @Param("example") CustFeedbackExample example);

    int updateByExample(@Param("record") CustFeedback record, @Param("example") CustFeedbackExample example);

    int updateByPrimaryKeySelective(CustFeedback record);

    int updateByPrimaryKey(CustFeedback record);
    
    List<CustFeedback> listPageGetCustFeedback(Page page);
}